<template>
	<view class="info">
		详情页---作业
	</view>
</template>

<script>
	export default{
		data(){
			return{
				myid:""
			}
		},
		onLoad(options){
			//console.log(options.id);
			this.myid=options.id;
			this.getinfoData();
		},
		methods:{
			getinfoData(){
				this.$request({
					url:"/api/xiaomi/detail?id="+this.myid
				}).then(res=>{
					console.log(res);
				}).catch(err=>{
					console.log(err);
				})
			}
		}
	}
</script>

<style>
</style>
